package com.ash;

import com.ash.configuration.MyApp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @author Ashin
 */
@SpringBootApplication

// 这里的EnableConfigurationProperties的作用就是把组建
@EnableConfigurationProperties(MyApp.class)
public class TestSpringbootSimpleApplication {


    public static void main(String[] args) {
        SpringApplication.run(TestSpringbootSimpleApplication.class, args);
    }

}
